namespace QLGT.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class tbl_NhaXuatBan
    {
        public tbl_NhaXuatBan()
        {
            tbl_GiaoTrinh = new HashSet<tbl_GiaoTrinh>();
            tbl_SachDat = new HashSet<tbl_SachDat>();
        }

        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int MaNXB { get; set; }

        [Required]
        [StringLength(100)]
        public string TenNXB { get; set; }

        [Required]
        [StringLength(200)]
        public string DiaChi { get; set; }

        [Required]
        [StringLength(15)]
        public string SoDT { get; set; }

        [Required]
        [StringLength(15)]
        public string Fax { get; set; }

        [Required]
        [StringLength(50)]
        public string Email { get; set; }

        public virtual ICollection<tbl_GiaoTrinh> tbl_GiaoTrinh { get; set; }

        public virtual ICollection<tbl_SachDat> tbl_SachDat { get; set; }
    }
}
